<?xml version="1.0" encoding="utf-8"?>
<Toolkit version="2.0" xmlns:zj="http://www.zju.edu.cn" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:noNamespaceSchemaLocation="../../DTD2/Module.xsd">
  <zj:Module>
    <zj:Title>角色</zj:Title>
    <zj:DataSet>SingleDList2</zj:DataSet>
    <zj:DefaultSortField>1</zj:DefaultSortField>
    <zj:FunctionRight FunctionKey="Part" FuncType="Admin"/>
    <zj:Resolvers>
      <zj:Resolver Style="Normal" List="true">
        <zj:RegName>Part</zj:RegName>
        <zj:Xml>../../Data/Users/Part.xml</zj:Xml>
      </zj:Resolver>
      <zj:Resolver Style="None" DetailList="true" Source="Users/Users">
        <zj:RegName>UsersPart</zj:RegName>
        <zj:Xml>../../Data/Users/UsersPart.xml</zj:Xml>
        <zj:ListAction>
          <Add>
            <AddField FieldName="USER_NAME" DisplayName="用户姓名" DataType="string" Kind="Calc" HtmlCtrl="Detail" Order="30">
              <EasySearch RegName="USER"/>
              <Display>
                <Link ID="UP_USER_ID">../Pages/WebDetailXmlPage.zjx?Source=Users/Users</Link>
              </Display>
              <Extension Expression="UP_USER_ID"/>
            </AddField>
            <AddField FieldName="USER_ORG_ID" DisplayName="所属机构" DataType="string" Kind="Calc" HtmlCtrl="Detail" Order="40">
              <EasySearch RegName="URORG"/>
              <Extension Expression="UP_USER_ID"/>
            </AddField>
          </Add>
          <Override>
            <Field FieldName="UP_USER_ID" HtmlCtrl="Hidden"/>
            <Field FieldName="UP_PART_ID" HtmlCtrl="Hidden"/>
          </Override>
        </zj:ListAction>
      </zj:Resolver>
    </zj:Resolvers>
    <zj:Relations>
      <zj:Relation>
        <zj:MasterResolver>Part</zj:MasterResolver>
        <zj:DetailResolver>UsersPart</zj:DetailResolver>
        <zj:MasterField>PART_ID</zj:MasterField>
        <zj:DetailField>UP_PART_ID</zj:DetailField>
      </zj:Relation>
    </zj:Relations>
    <zj:XsltFiles>
      <zj:XsltFile Type="Detail">Users/PartDetail.xslt</zj:XsltFile>
    </zj:XsltFiles>
  </zj:Module>
</Toolkit>
